@charset "utf-8";
body{
    font: 12px "mircosoft yahei",Arial,Verdana;
    color: #666;
    margin: 0px ;
    padding: 0px ;
}
ul,li,p,h1,h2,h3,h4,h5,h6{
    margin: 0px;
    padding: 0px;
    list-style:none;
    border: none;
}
input{
    border: none;
}
.lf{
    float: left;
}
.rt{
    float: right;
}
.clear{
    clear: both;
}


/**编写整体样式**/

#top_box,#top_main,#nav,#banner,#main,#foot_box,#footer{
    width: 1210px;
    margin: 0px auto;

}
#top{
    width: 100%;
    height: 30px;
    background: #f7f7f7;
    line-height: 30px;
    border-bottom: 1px solid #f0f0f0;

}
#top_box{
    height: 30px;
}
#top_main{
    height: 60px;
    padding: 15px 0;
}
#nav{
    height: 40px;
}
#foot_box{
    height: 170px;
}
#footer{
    height: 180px;
}
a{
    color: #666;
    text-decoration: none;
}
a:hover{
    color: red;
    text-decoration: underline;
}
#top_box>img{
    display: block;
    float: left;
    margin: 9px 4px ;
}
#top_box>a{
    display: block;
    float: left;
    line-height: 30px;
}
#top_box ul li{
    float: left;
    text-align: center;
    position: relative;
    margin-right: 5px;
    z-index: 1;
}
#top_box ul li b{
    height: 12px;
    border-left: 1px solid #dddddd;
    padding: 0 5px 0 0;
}
li.vip a {
    background:url(images/vip.jpg) left center no-repeat;
    padding-left:30px;
}
li.dakehu a {
    background:url(images/dakehu.jpg) left center no-repeat;
    padding-left:30px;
}
li.app_jd a {/*background: 尽量不用，使用单独属性，后期无法替换个别属性*/
    background:url(images/iconlist_2.png);
    background-repeat: no-repeat;
    background-position: -126px -357px ;
    padding-left:20px;
    height:26px;
    display:inline-block;
}
li.app_jd a:hover,li.app_jd a.hover {
    /*做一个与hover完全一样的类，css任前面的（程序不认伪类），程序任后面的*/
    background-position: -126px -397px;
}
/*top部分,“手机京东”的弹出框*/
#app_jd_items{
    display: none;
    position: absolute;
    left: 6px;
    top: 30px;
    z-index: 3;
    width: 215px;
    height: 214px;
    padding: 50px 0 20px 20px;
    border: 1px solid #ddd;
    border-top: 1px solid #fff;
    box-shadow: 0 0 10px #ddd;
    background: #fff url(Images/app_jd_1.png) 10px 10px no-repeat;
}
#app_jd_items div.app,#app_jd_items div.bank{
    height: 110px;
    padding-left: 100px;
}
#app_jd_items div.app{
    background: url(Images/app_jd_erwei.jpg) 15px center no-repeat;
}
#app_jd_items div.bank{
    background: url(Images/app_jd_wangyin.png) 15px center no-repeat;
}
#app_jd_items h3{
    text-align: left;
    padding-left: 3px;
    color: #e4393c;
}
#app_jd_items a{
    width: 97px;
    height: 29px;
    display: block;
    margin-bottom: 6px;
}
#app_jd_items a.app{
    background: url(Images/iconlist_2.png) 0px -360px no-repeat;
}
#app_jd_items a.android{
    background: url(Images/iconlist_2.png) 0px -399px no-repeat;
}

#top_box li.services>a{
    border: 1px solid transparent;
    padding: 0px 15px;
}

li.service>a{
    display: inline-block;
    height: 26px;
    border: 1px solid transparent;
    padding: 0px 15px;
    background-image: url(images/jt_down.jpg);
    background-position:65px center;
    background-repeat:no-repeat;
}
li.service>a:hover,li.service>a.hover{
    background-image:url(images/jt_up.jpg);
    background-color:#fff;
    border:1px solid #DDD;
    border-bottom-width:0px;
    position:relative;
    z-index:40;
} 



#service_items{

/*    display: none;
 */    position: absolute;
    background-color: #fff;
    border: 1px solid #ddd;
    border-top: 0px;
    width: 78px;
    left: 6px;
    top: 23px;
    z-index: 5;
}
#service_items li{
    padding-left: 10px;
}
/**搜索框 search_box**/
#search_box{
    width: 550px;
    padding: 4px,80px,4px,4px;
    position: relative ;
}
div.search{
    width: 500px;
    height: 32px;
    margin-bottom: 4px;
    background-color: #e4393c;
    border:3px solid #e4393c;
}
input.text{
    width: 410px;
    height: 20px;
    padding: 5px;
    background-color: #fff;
    line-height: 20px;
    color: #999;
    font-family: "mircosoft yahei",Arial,Verdana;
}
input.button{
    width: 75px;
    height: 30px;
    background-color: #e4393c;
    font-size: 14px;
    color: #fff;
    font-weight: bold;
}
/**热门搜索**/
div.hot_words{
    height: 18px;
    color: #999;
    overflow: hidden;
}
div.hot_words a,div.hot_words span{
    color: #999;
    margin-right: 10px;
}

/**我的京东**/
#my_jd{
    width: 65px;
    height: 30px;
    background-image: url(Images/iconlist_2.png);
    background-repeat: no-repeat;
    background-position: -116px -24px;
    padding: 0 8px 0 25px;
    background-color: #f7f7f7;
    border: 1px solid #efefef;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    position: relative;
    margin-top: 3px;
}
#my_jd b{
    border-style: solid;
    border-width: 5px;
    border-color: #ccc transparent transparent transparent;
    position: relative;
    top: 10px;
    left: 3px;
    
}
#my_jd:hover{
    background-color:#fff;
    background-image: url(Images/iconlist_2.png);
    background-position: -116px -54px;
}
#gwc{
    width: 65px;
    height: 30px;
    background-image: url(Images/iconlist_2.png);
    background-repeat: no-repeat;
    background-position: -116px -82px;
    padding: 0 8px 0 25px;
    background-color: #f7f7f7;
    border: 1px solid #efefef;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    position: relative;
    margin-top: 3px;
    margin-left: 5px;
}
#gwc b{
    border-style: solid;
    border-width: 5px;
    border-color: #ccc transparent transparent transparent;
    position: relative;
    top: 10px;
    left: 3px;
}
#gwc:hover{
    background-color:#fff;
    background-image: url(Images/iconlist_2.png);
    background-position: -116px -113px;
}



#foot_box{
    border-top: 1px solid #ddd;
    margin-top: 15px;
    background-color: #fff;
}
#foot_box p{
    float: left;
    width: 33px;
    height: 33px;
    margin: 5px 5px 0 55px;
}
#foot_box ul{
    width: 130px;
    float: left;
}
#foot_box ul li{
    line-height: 22px;

}
p.shopping_guide1{
    background-image: url(Images/gw01.jpg);
}
p.shopping_guide2{
    background-image: url(Images/ps02.jpg);
}
p.shopping_guide3{
    background-image: url(Images/zf03.jpg);
}
p.shopping_guide4{
    background-image: url(Images/sh04.jpg);
}
p.shopping_guide5{
    background-image: url(Images/ts05.jpg);
}
#foot_box ul li b{
    line-height: 30px;
}
#footer{
    margin-top: 15px;
}
#lianjie b{
    border-left: 1px solid #666;
    margin: 15px;
    height: 8px;
}
#lianjie li{
    float: left;
    line-height: 30px;
}
#lianjie {
    width: 680px;
    height: 35px;
    margin: 0 auto;
}
#beian{
    width: 850px;
    height: 80px;
    text-align: center;
    margin: 0 auto;

}
#tu{
    text-align: center;

}
#tu a{
    margin: 0 10px 0 10px;
}

nav {
    width:1210px;
    height:40px;
    margin: 10px auto;
    background: #E64346;
    border:1px solid yellow;
}
#category {
    width:210px;
    float:left;
    background: #CD2A2C;
    position:absolute;
}

/*全部商品分类*/
#category>a{
    display: inline-block;
    height: 40px;
    padding-left : 20px;
    line-height: 40px;
   color: #fff;
   font-size:14px;
   font-weight:bold;
   text-decoration:none;
}
#category>b {
    width:20px;
    height: 20px;
    background-image:url(images/iconlist_2.png);
    background-position: -65px 0;
    background-repeat:no-repeat;
    float:right;
    margin-top:10px;
    margin-right:5px;
}

/*其他导航项*/
#nav_items {

    margin-left: 210px;
}
#nav_items li {
    float:left;
    width:83px;
    height:40px;
}
#nav_items li a {
    
    display:block;
    height:40px;
    width: 85px;
    text-align: center;
    color: #fff;
    font-weight: bold;
    font-size:15px;
    text-decoration: none;  
    line-height:40px;
}
#nav_items li a:hover {
    background-color:#BD2A2C;
}      
     
/**************************V07***********************************/
/*分类数据*/
#cate_box{
  display: none;
	position:relative;/*因为删除了下面的cate_box，所以添加*/
    width: 203px;
    height: 402px;
    padding: 4px 3px 3px 0;
    background: #FAFAFA;
    border:2px solid #E4393C;
    border-top-width: 0px;
    overflow: visible;
    z-index:100;
}
#cate_box li h3:hover, #cate_box li h3.hover{
    border-top:1px solid #DDD;
    border-bottom:1px solid #DDD;
    background-color:#fff;
	  position:relative;
    z-index:80;
}
#cate_box>li {
    width:190px;
    height:28px;
    border-bottom: 1px solid #FFF;
}
#cate_box li h3 {
    margin:0px;
    padding:0px 0px 0px 13px;
    font-size:14px;
    width: 186px;
    height: 28px;
    line-height: 28px;
    font-weight: 400;                                
}

#cate_box h3>a {
    color:#333;
    text-decoration:none;
}            

/*弹出部分*/
.sub_cate_box {
  display:none;
    position: absolute;
    left: 198px;
    top: 2px;
    width: 705px;
    border: 1px solid #DDD;
    background: #fff;
    overflow: visible;
    box-shadow: 0 0 10px #DDD;
    z-index:70;
    height:350px;
    padding:5px;
}
.sub_cate_items {
    float:left;
    height:350px;
}            
.sub_cate_banner {
    width:200px;
    float:right;
    padding:10px;
}
div.close {
    position: absolute;
    top: -1px;
    left: 715px;
    z-index: 2;
    width: 26px;
    height: 26px;
    background: #555;
    text-align: center;
    line-height: 26px;
    color: #fff;
    cursor: pointer;
    font-size: 26px;
}

/*二级分类*/
.sub_cate_items>div {
    clear:left;
    padding:0px;
    margin:0px 0px 10px 10px;
    width:470px;
    border-bottom:1px solid #EEE;
}
.sub_cate_items>div>a {
    display:block;
    float:left;
    width:54px;
    height:22px;
    line-height: 22px;
    text-align: right;
    padding: 3px 8px 0 0px;
    color: #E4393C;
    text-decoration: underline;
    font-weight:700;
}    
.sub_cate_items p {
    width:400px;
    line-height:22px;
    float:left;
    margin:0px;
}             
.sub_cate_items p a {                
    height:22px;
    line-height: 22px;
    text-align: right;
    padding: 0px 8px 0 0px;
    display:inline-block;
    padding: 0 4px;
    margin: 4px 0;
    border-left: 1px solid #ccc;
    color:#666;
    text-decoration:none;    
} 
.sub_cate_items p a:hover {
    color:red;
    text-decoration:underline;     
}

/*弹出分类中的banner部分*/
.sub_cate_banner>div {
    width:100%;
    margin-bottom:5px;
}
.sub_cate_banner h4 {
    padding: 3px 6px 0 0;
    font-weight: 700;
    color: #E4393C;
}
.sub_cate_banner li {
    width: 194px;
    float:left; 
    padding:3px 0px;     
}
.sub_cate_banner li a {
    color:#666;            
    text-decoration:none; 
}
.sub_cate_banner li a:hover {        
    text-decoration:underline; 
}   
